import request from '@/utils/request'

export function orderItemList(query) {
    return request({
        url: '/orderItem/list',
        method: 'get',
        params: query
    })
}

export function orderItemCreate(data) {
    return request({
        url: '/orderItem/create',
        method: 'post',
        data
    })
}

export function orderItemUpdate(data) {
    return request({
        url: '/orderItem/update',
        method: 'post',
        data
    })
}

export function orderItemDelete(data) {
    return request({
        url: '/orderItem/delete',
        method: 'post',
        data
    })
}




